package com.my.easyrules.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
    private String name;

    private boolean adult;

    private int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
}